package com.z.platform.controller.persistence.orm.metadataModel;

import java.util.Map;

/**
 * @author 21051
 */
public class SqlMetadata {
    /**
     * 插入语句
     */
    private String insertSql;

    /**
     * 插入语句参数
     */
    private Map<Integer, Object> insertSqlParams;

    /**
     * 插入语句参数类型
     */
    private Map<Integer, Class<?>> insertSqlParamsTypes;

    /**
     * 主键id更新语句
     */
    private String updateByIdSql;

    /**
     * 主键id更新语句参数
     */
    private Map<Integer, Object> updateByIdSqlParams;

    /**
     * 主键id更新语句参数类型
     */
    private Map<Integer, Class<?>> updateByIdSqlParamsTypes;

    /**
     * 主键id删除语句
     */
    private String deleteByIdSql;

    /**
     * 主键id删除语句参数
     */
    private Map<Integer, Object> deleteByIdSqlParams;

    /**
     * 主键id删除语句参数类型
     */
    private Map<Integer, Class<?>> deleteByIdSqlParamsTypes;

    public String getInsertSql() {
        return insertSql;
    }

    public void setInsertSql(String insertSql) {
        this.insertSql = insertSql;
    }

    public Map<Integer, Object> getInsertSqlParams() {
        return insertSqlParams;
    }

    public void setInsertSqlParams(Map<Integer, Object> insertSqlParams) {
        this.insertSqlParams = insertSqlParams;
    }

    public Map<Integer, Class<?>> getInsertSqlParamsTypes() {
        return insertSqlParamsTypes;
    }

    public void setInsertSqlParamsTypes(Map<Integer, Class<?>> insertSqlParamsTypes) {
        this.insertSqlParamsTypes = insertSqlParamsTypes;
    }

    public String getUpdateByIdSql() {
        return updateByIdSql;
    }

    public void setUpdateByIdSql(String updateByIdSql) {
        this.updateByIdSql = updateByIdSql;
    }

    public Map<Integer, Object> getUpdateByIdSqlParams() {
        return updateByIdSqlParams;
    }

    public void setUpdateByIdSqlParams(Map<Integer, Object> updateByIdSqlParams) {
        this.updateByIdSqlParams = updateByIdSqlParams;
    }

    public Map<Integer, Class<?>> getUpdateByIdSqlParamsTypes() {
        return updateByIdSqlParamsTypes;
    }

    public void setUpdateByIdSqlParamsTypes(Map<Integer, Class<?>> updateByIdSqlParamsTypes) {
        this.updateByIdSqlParamsTypes = updateByIdSqlParamsTypes;
    }

    public String getDeleteByIdSql() {
        return deleteByIdSql;
    }

    public void setDeleteByIdSql(String deleteByIdSql) {
        this.deleteByIdSql = deleteByIdSql;
    }

    public Map<Integer, Object> getDeleteByIdSqlParams() {
        return deleteByIdSqlParams;
    }

    public void setDeleteByIdSqlParams(Map<Integer, Object> deleteByIdSqlParams) {
        this.deleteByIdSqlParams = deleteByIdSqlParams;
    }

    public Map<Integer, Class<?>> getDeleteByIdSqlParamsTypes() {
        return deleteByIdSqlParamsTypes;
    }

    public void setDeleteByIdSqlParamsTypes(Map<Integer, Class<?>> deleteByIdSqlParamsTypes) {
        this.deleteByIdSqlParamsTypes = deleteByIdSqlParamsTypes;
    }
}
